/*
 Navicat MySQL Data Transfer

 Source Server         : 个人数据库
 Source Server Type    : MySQL
 Source Server Version : 50560
 Source Host           : 101.200.60.21:3306
 Source Schema         : test0

 Target Server Type    : MySQL
 Target Server Version : 50560
 File Encoding         : 65001

 Date: 19/08/2019 16:01:48
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for t_order0
-- ----------------------------
DROP TABLE IF EXISTS `t_order0`;
CREATE TABLE `t_order0` (
  `id` varchar(50) NOT NULL DEFAULT '',
  `order_no` varchar(50) DEFAULT NULL,
  `user_id` int(10) DEFAULT NULL,
  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of t_order0
-- ----------------------------
BEGIN;
INSERT INTO `t_order0` VALUES ('1161102408721743873', 'NO20190813102911', 2, '2019-08-13 10:29:22');
COMMIT;

-- ----------------------------
-- Table structure for t_order1
-- ----------------------------
DROP TABLE IF EXISTS `t_order1`;
CREATE TABLE `t_order1` (
  `id` varchar(50) NOT NULL DEFAULT '',
  `order_no` varchar(50) DEFAULT NULL,
  `user_id` int(10) DEFAULT NULL,
  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for t_order_item0
-- ----------------------------
DROP TABLE IF EXISTS `t_order_item0`;
CREATE TABLE `t_order_item0` (
  `id` varchar(50) NOT NULL,
  `order_no` varchar(50) DEFAULT NULL,
  `order_id` varchar(50) DEFAULT NULL,
  `product` varchar(20) DEFAULT NULL,
  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `user_id` int(10) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for t_order_item1
-- ----------------------------
DROP TABLE IF EXISTS `t_order_item1`;
CREATE TABLE `t_order_item1` (
  `id` varchar(50) NOT NULL,
  `order_no` varchar(50) DEFAULT NULL,
  `order_id` varchar(50) DEFAULT NULL,
  `product` varchar(20) DEFAULT NULL,
  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `user_id` int(10) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of t_order_item1
-- ----------------------------
BEGIN;
INSERT INTO `t_order_item1` VALUES ('1161102412551143425', 'NO20190813102911', '1161102408721743873', 'name-ffff', '2019-08-12 21:29:22', NULL);
COMMIT;

-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `gmt` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of user
-- ----------------------------
BEGIN;
INSERT INTO `user` VALUES (1, '测试用户1', '2019-08-12 00:00:00');
INSERT INTO `user` VALUES (2, '测试用户2', '2019-08-12 00:00:00');
INSERT INTO `user` VALUES (3, '????1', '2019-08-12 07:24:41');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
